package test3_20.demo04;

public class Teacher {

    public String name;

    public Teacher() {

    }

    public void changeTeacher(String a){
        System.out.println(this.name = a);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
